<template>
  <div class="admin-flow">
    <div :style="adminFlowBar.bgColor">
      <span :class="adminFlowBar.style" :style="adminFlowBar.color"></span>
    </div>
    <div>
      <div class="admin-flow-count">{{adminFlowBar.count}}</div>
      <div class="admin-flow-content">{{adminFlowBar.title}}</div>
    </div>
  </div>
</template>

<script>
export default {
  name: "adminFlow",
  data(){
    return{

    }
  },
  props:["adminFlowBar"]
}
</script>

<style scoped>
.admin-flow {
  display: flex;
  height: 100px;
  border-radius: 5px;
  overflow: hidden;
  width: 200px;
}

.admin-flow > div:first-child {
  width: 80px;
  line-height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.admin-flow > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  flex: 1;
  background-color: white;
}

.iconfont {
  color: white;
  font-size: 25px;
}

.admin-flow-count {
  font-size: 32px;
  color: #737373;
}

.admin-flow-content {
  font-size: 18px;
  color: #737373;
}

</style>